package com.szm.userserver.mapper;

import com.szm.userserver.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface UserMapper {
    @Select("select rowid id,personal_name username from system_login_b where rowid=#{id}")
    User getUserById(@Param("id") long id);
}
